FROM centos:7.2.1511
RUN  mkdir /data &&  cp /usr/share/zoneinfo/Asia/Shanghai  /etc/localtime
ADD golia-relay /bin/golia-relay
ADD golia.yml /etc/golia.yml
EXPOSE 2007 8027
ENTRYPOINT ["/bin/golia-relay"]
CMD ["/etc/golia.yml"]